﻿@model List<WanMeiModel.ChoseHeroItem>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>选择角色</title>

    <link href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link href="http://cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">
    <link href="~/Content/chosehero/htmleaf-demo.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.10.2.js"></script>
      <script src="~/Scripts/Common/webExpress.js"></script>
    <script src="~/Scripts/Common/webExpress.utility.js"></script>
    <script src="~/Scripts/Common/webExpress.utility.ajax.js"></script>
    <script src="~/Scripts/Common/webExpress.utility.url.js"></script>
    <script src="~/Scripts/Out/jquery.js"></script>
    <script src="~/Scripts/layer_mobile/layer.js"></script>
</head>
<body>
    <div class="htmleaf-container">
        <header class="htmleaf-header">
            <h1>完美大陆英雄<span>每个账号暂有2名英雄,选择后进入游戏</span></h1>

        </header>
        <div class="demo">
            <div class="container">
                <div class="row">
                    @foreach (var item in Model)
                    {
                        <div class="col-md-3 col-sm-6">
                            <div class="our-team" style="margin-bottom: 30px;">
                                <div class="pic">
                                    <img src="/Images/1.jpg">
                                </div>
                                <div class="team-content">
                                    @if (string.IsNullOrEmpty(item.RoleNick))
                                    {
                                        <h3 class="title" name="setNick" heroId="@item.HeroId"><a href="javascript:void(0);">设置昵称</a></h3>
                                    }
                                    else
                                    { 
                                         <h3 class="title">@item.RoleNick</h3>
                                    }
                                   
                                    <h3 class="title" style="color:brown">@item.HeroName</h3>
                                    <span class="post">&nbsp;&nbsp;&nbsp;&nbsp; @item.HeroIntroduce</span>
                                </div>
                                <ul class="social">
                                    <li><a href="avascript:void(0)">@(item.GameLevel)级</a></li>
                                    <li><a href="avascript:void(0)">@item.GameLevelTitle</a></li>
                                    <li><a href="javascript:void(0)" id="go_@item.HeroId" heroId="@item.HeroId" isHasNick="@item.IsHasNick" class="gotogame">进入游戏</a></li>
                                </ul>
                            </div>
                        </div>
                    }


                </div>
            </div>
        </div>

    </div>

</body>
</html>
<script src="~/Scripts/GameBussiness/ModelBase.js"></script>
<script src="~/Scripts/GameBussiness/User/UserModel.js"></script>
<script src="~/Scripts/GamePro/ChoseHero/ChoseHero.js"></script>
<script src="~/Scripts/GameProBase/Tool.js"></script>
<script>
    ChoseHero.Instance.Init();
</script>
